package _01simple;

/**
 * @author ServivE
 * @version 0.1
 * @className TestSimple
 * @description
 * @date 2024/10/15 9:42
 * @since jdk17
 */
public class TestSimple {
    public static void main(String[] args) {
        //需要一台宝马车
        Car bmw = SimpleFactory.getMeCar("bmw");
        if (bmw != null) {
            bmw.showBrand();
        } else {
            System.out.println("暂时无法生产");
        }
    }
}
